/* Copyright (c) 2025 Beijing Semidrive Technology Corporation
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/** *****************************************************************************************************
 *  \file     Mcu_Cfg.h                                                                                 *
 *  \brief    This file contains interface header for MCU MCAL driver, ...                              *
 *                                                                                                      *
 * <table>                                                                                              *
 * <tr><th>Date           <th>Version                                                                   *
 * <tr><td>2025-03-25 19:03:22     <td>1.0.0                                                                *
 * </table>                                                                                             *
 *******************************************************************************************************/

#ifndef MCU_CFG_H
#define MCU_CFG_H

#ifdef __cplusplus
extern "C" {
#endif
/********************************************************************************************************
 *                                 Global Macro definition                                              *
 *******************************************************************************************************/
/**
 *  \defgroup MCAL_MCU_MACRO Mcu Macro.
 *
 * This files defines Mcu MCAL macros.
 *  @{
 */

 /**
 *  \name Mcu Module generation version.
 *
 *  @{
 */
/** \brief  Generate Autosar Specific Version Information. */
#define MCU_AR_RELEASE_MAJOR_VERSION                                    (4U)
#define MCU_AR_RELEASE_MINOR_VERSION                                    (3U)
#define MCU_AR_RELEASE_REVISION_VERSION                                 (1U)

/** \brief  Generate Vendor Specific Version Information. */
#define MCU_SW_MAJOR_VERSION                                            (3U)
#define MCU_SW_MINOR_VERSION                                            (1U)
#define MCU_SW_PATCH_VERSION                                            (0U)
/** @} */



#define MCU_MAX_RAMCFGS  0U
#define MCU_MAX_MODECFGS 4U
#define MCU_MAX_CLKCFGS  1U

#define MCU_DEV_ERROR_DETECT (STD_OFF)
#define MCU_SAFETY_ENABLE (STD_OFF)
#define MCU_VERSION_INFO_API (STD_OFF)
#define MCU_PERFORM_RESET_API (STD_ON)
#define MCU_NO_PLL (STD_OFF)
#define MCU_CR52_FREQUENCY_HALVED (STD_OFF)
#define MCU_SF_CLK_ND_CFG (STD_OFF)
#define CKGEN_24M_RATE (24000000U)

#define MCU_PLL_SPREAD_NUM  0U
#define MCU_PLL_SPREAD STD_OFF

#define McuConf_McuClockSettingConfig_McuClockSettingConfig_0   ((Mcu_ClockType)0U)





#define EXPECT_CORE_CLOCK_CR5_SE_R52          (600U*1000000U)
#define EXPECT_CORE_CLOCK_CR5_LP              (200U*1000000U)

#define MCU_GLOBAL_RESET_EN_VALUE   (0x908U)

#define MAX_CORE_NUM  4U


/** @} */
#ifdef __cplusplus
}
#endif

#endif /* MCU_CFG_H */
/* End of file */
